<template>
  <div class="but">
<div class="box">
  <el-button type="primary" size="small" plain v-if="props.level===0">一级</el-button>
  <el-button type="success" size="small" plain v-if="props.level===1">二级</el-button>
  <el-button type="danger" size="small" plain v-if="props.level===2">三级</el-button>
 </div>
  </div>
</template>

<script lang="ts" setup>
const props=defineProps<{ level: number }>()


</script>

<style scoped lang="scss">

</style>
